package com.longcai.feign.client;

import com.longcai.bean.ApiResult;
import com.longcai.constants.ServiceNameConstants;
import com.longcai.entity.nearby.ClyjNearbyShops;
import com.longcai.feign.factory.TraFeignClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * @author zhaojie
 * @Title: RemoteWebApi
 * @ProjectName CLYJ
 * @Description: TODO
 * @date 2019/2/1811:56
 */
@FeignClient(value = ServiceNameConstants.TRANSACTION_SERVICE, fallbackFactory = TraFeignClientFallbackFactory.class)
public interface TraFeignClient {

    /**
     * 富有商家注册开户
     *
     * @param clyjNearbyShops
     * @return
     */
    @RequestMapping("/cfcruestSave")
    ApiResult<?> AddCompanyRegister(ClyjNearbyShops clyjNearbyShops);
}
